<?php
    $tags_type = \think\Db::name('tags_type')->select()->toArray();
	print_r($tags_type);
?>

<div id="app">
	<el-button @click="visible = true">Button</el-button>
	<el-dialog :visible.sync="visible" title="Hello world">
	  <p>VUE所用js和css已在layouts中的layout.php中引入,直接使用vue即可</p>
	</el-dialog>
</div>

<script>
	new Vue({
	  el: '#app',
	  data: function() {
		return { visible: false }
	  }
	})
</script>